QT += gui network concurrent

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets core

TARGET = module

TEMPLATE = lib

DEFINES += MODULE_LIBRARY

CONFIG += c++17

QMAKE_CXXFLAGS += -Wno-strict-aliasing -Wno-unused-variable

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0



SOURCES += \
    config/AppConfig.cpp \
    module.cpp \
    plan/PlanStorage.cpp \
    plan/PlanTask.cpp \
    screenshot/ScreenshotConfig.cpp \
    utils/FontUnit.cpp \
    utils/QUIUtils.cpp

HEADERS += \
    config/AppConfig.h \
    config/AppConfigConstants.h \
    config/AppConfigConstants.h \
    config/GlobalDefine.h \
    module_global.h \
    module.h \
    plan/PlanStorage.h \
    plan/PlanTask.h \
    screenshot/ScreenshotConfig.h \
    utils/FontUnit.h \
    utils/QUIUtils.h

# Default rules for deployment.
unix {
    target.path = /usr/lib
}
!isEmpty(target.path): INSTALLS += target

win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../log/release/ -llog
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../log/debug/ -llog
else:unix: LIBS += -L$$OUT_PWD/../log/ -llog

INCLUDEPATH += $$PWD/../log
DEPENDPATH += $$PWD/../log
